export default [
  { 
    path: '/crossBorderGoods', 
    redirect: '/children/crossBorderGoods' 
  },
  {
    path: '/children',
    component: () => import('../views/Children.vue'),
    children: [
      {
        path: 'crossBorderGoods',    //药兜国际
        component: () => import('../views/Children/HomeCrossBorderGoods.vue')
      },
      {
        path: 'login',      //登录
        component: ()=>import('../views/Children/Login.vue')
      },
      {
        path: 'reg',      //注册
        component: ()=>import('../views/Children/Register.vue')
      },
      {
        path: 'privacypolicy',    //登录-隐私政策
        component: ()=>import('../views/Children/PrivacyPolicy.vue')
      },
      {
        path: 'agreement2',    //登录-用户协议
        component: () => import('../views/HomeNews/Agreement2.vue')
      },
      {
        path: 'coldCurePublicity',
        component: () => import('../views/HomeNews/ColdCurePublicity.vue')
      },
      {
        path: 'compliance',
        component: () => import('../views/HomeNews/Compliance.vue')
      },
      {
        path: 'frzzgyr',
        component: () => import('../views/HomeNews/Frzzgyr.vue')
      },
      {
        path: 'fygg',
        component: () => import('../views/HomeNews/Fygg.vue')
      },
      {
        path: 'glzd',
        component: () => import('../views/HomeNews/Glzd.vue')
      },
      {
        path: 'gmyts',
        component: () => import('../views/HomeNews/Gmyts.vue')
      },
      {
        path: 'medical',
        component: () => import('../views/HomeNews/Medical.vue')
      },
      {
        path: 'paymentRules',
        component: () => import('../views/HomeNews/PaymentRules.vue')
      },
      {
        path:'detail/:id',     //详情页
        component:()=>import('../views/Children/Detail.vue')
      },
      {
        path:'settinglist',    //设置列表
        component:()=>import('../views/Children/SettingList.vue')
      },
      {
        path:'setting',      //个人信息
        component:()=>import('../views/Children/Setting.vue')
      },
      {
        path:'accountsafety',      //账户安全
        component:()=>import('../views/Children/AccountSafety.vue')
      },
      {
        path:'ruleandservice',      //资质和规则
        component:()=>import('../views/Children/RuleAndService.vue')
      },
      {
        path:'reportInformation',      //举报信息
        component:()=>import('../views/Children/ReportInformation.vue')
      },
      {
        path:'aboutus',      //关于我们
        component:()=>import('../views/Children/AboutUs.vue')
      },
      {
        path:'changenickname',      //修改昵称
        component:()=>import('../views/Children/ChangeNickname.vue')
      },
      {
        path:'changephone',      //修改手机号
        component:()=>import('../views/Children/ChangePhone.vue')
      },
      {
        path:'address',      //地址列表
        component:()=>import('../views/Children/Address.vue')
      },
      {
        path:'addaddress/:state',      //增加或修改地址
        component:()=>import('../views/Children/AddAddress.vue')
      },
      {
        path:'orderpage/:isNav',      //我的-全部订单页
        component:()=>import('../views/Children/OrderPage.vue')
      },
      {
        path:'order',      //订单页
        component:()=>import('../views/Children/Order.vue')
      },
      {
        path:'chooseaddress',      //订单页到修改地址
        component:()=>import('../views/Children/ChooseAddress.vue')
      },
      {
        path:'cartorder',      //购物车结算
        component:()=>import('../views/Children/CartOrder.vue')
      },
    ]
  }
]